<ui:composition 
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:c="http://java.sun.com/jsp/jstl/core">
 

    
        <div style="border-width: 1px; border-left: 75px; border-right: 75px; border-style: solid;  border-color: #ffffff;">
             <h:form >
                 <h:dataTable value="#{loginBean.authenticatedUser}" var="user">
                     <f:facet name="header">
                        <h:outputText value="VOTRE PROFIL" />
                      </f:facet> 

                      <h:column>
                        <f:facet name="header">
                        <h:outputText value="Votre login" />
                        </f:facet> 
                          <h:outputText value="#{user.login}"></h:outputText>
                      </h:column>

                      <h:column>
                        <f:facet name="header">
                        <h:outputText value="Prenom"/>
                        </f:facet> 
                          <h:outputText value="#{user.prenom}"></h:outputText>
                      </h:column>

                      <h:column>
                        <f:facet name="header">
                        <h:outputText value="Nom de famille"/>
                        </f:facet> 
                          <h:outputText value="#{user.nom}"></h:outputText>
                      </h:column>

                      <h:column>
                        <f:facet name="header">
                        <h:outputText value="E-mail"/>
                        </f:facet>
                          <h:outputText value="#{user.mail}"></h:outputText>
                      </h:column>

                      <h:column>
                        <f:facet name="header">
                        <h:outputText value="Adresse"/>
                        </f:facet>
                          <h:outputText value="#{user.adresse}"></h:outputText>
                      </h:column>

                      <f:facet name="footer">
                          <a href ="index.xhtml"><h:outputText value="ACCEUIL" /></a>
                      </f:facet> 
                 </h:dataTable>        
            </h:form>  
        </div>
    
    
</ui:composition>